package utils

// GetMapKeys 获取map的keys和values
func GetMapKeys(m map[string]interface{}) (*[]string, *[]interface{}) {
	j := 0
	keys := make([]string, len(m))
	values := make([]interface{}, len(m))
	for k := range m {
		keys[j] = k
		values[j] = m[k]
		j++
	}
	return &keys, &values
}
